package cate.common.table.show.sheet;

import cate.common.table.ESheet;
import cate.common.table.show.row.VehicleSkinLevelRow;
import easy.java.dev.note.NoteClass;

@NoteClass("载具升级")
public class VehicleSkinLevelSheet extends ESheet<VehicleSkinLevelRow> {

    @Override
    public String getSheetName() {
        return "载具升级";
    }


    public VehicleSkinLevelRow getLevelRow(int skinTid, int level) {
        for (VehicleSkinLevelRow row : this.getList()) {
            if (row.skinTid == skinTid && row.level == level) {
                return row;
            }
        }
        return null;
    }
}
